-- GENERATED SPELL FOR [Bloodmaul Battle Worg] --


function spell0_20330(pUnit, Event) --@Blood Howl,Self--
pUnit:FullCastSpellOnTarget(37776,pUnit)
pUnit:RegisterEvent('Sorts_20330', 16000, 1)
end

function Sorts_20330(pUnit, Event)
local choix_sorts_20330 = math.random(0, 0)
if choix_sorts_20330 == 0 then
pUnit:RegisterEvent('spell0_20330', 1, 1)
end
end

function mob20330_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20330', math.random(1500, 3000), 1)
end

function mob20330_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20330_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20330_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20330, 1, 'mob20330_Action')
RegisterUnitEvent(20330, 2, 'mob20330_Leave')
RegisterUnitEvent(20330, 3, 'mob20330_Kill')
RegisterUnitEvent(20330, 4, 'mob20330_Die')
